class GremlinGdbConfig:

    url = 'ws://db-proxy.zhihuishu.com:23187/gremlin'
    username = 'root'
    password = 'ZV75Ybvw56yrpyRF'

    @property
    def gremlin_url(self):
        return self.url

    @property
    def gremlin_username(self):
        return self.username

    @property
    def gremlin_password(self):
        return self.password


class ElasticSearchConfig:

    url = "http://localhost:9200"
    index_name = 'new_esebooksegmention_more'
    username = None
    password = None

    @property
    def es_url(self):
        return self.url

    @property
    def es_index_name(self):
        return self.index_name

    @property
    def es_username(self):
        return self.username

    @property
    def es_password(self):
        return self.password


class MysqlConfig:

    url = "mysql+pymysql://root:root@localhost:13306/sensitive_word"
    username = None
    password = None

    @property
    def mysql_url(self):
        return self.url

    @property
    def mysql_username(self):
        return self.username

    @property
    def mysql_password(self):
        return self.password
